
import { request } from '@/common/service/service.js'
export const LoginApi = async(datas)=>{
	const res = await request('/xuesheng/login',datas,'post')
	return res.data
}
//获取用户信息
export const userInfoApi = async(id)=>{
	const res = await request(`/xuesheng/${id}`,{},'get')
	return res.data
}
export const registerApi = async(data)=>{
	const res = await request('/xuesheng/register',data,'post')
	return res.data
}
export const resetPassApi = async(data)=>{
	const res = await request('/xuesheng/updatePassword',data,'put')
	return res
}


